#define _CRT_SECURE_NO_WARNINGS 1
#include"sort.h"
void test01()
{
	srand((unsigned int)time(0));
	int* arr1 = (int*)malloc(sizeof(int) * 20);
	int* arr2 = (int*)malloc(sizeof(int) * 20);
	for (int i = 0; i < 20; i++)
	{
		arr1[i] = rand();
		arr2[i] = rand();
	}
	insertsort(arr1, 20);
	Printf(arr1, 20);
	Shellsort(arr2, 20);
	Printf(arr2, 20);
	free(arr1);
	free(arr2);
}
int main()
{
	test01();
	return 0;
}